package com.sakura.mall.coupon.seckillSkuRelation.service;

import com.sakura.mall.common.response.Page;
import com.sakura.mall.coupon.seckillSkuRelation.domain.entity.SeckillSkuRelationEntity;
import com.sakura.mall.coupon.seckillSkuRelation.domain.request.AddSeckillSkuRelationRequest;
import com.sakura.mall.coupon.seckillSkuRelation.domain.request.UpdateSeckillSkuRelationRequest;
import com.sakura.mall.coupon.seckillSkuRelation.domain.request.SeckillSkuRelationPageRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sakura.mall.coupon.seckillSkuRelation.domain.vo.SeckillSkuRelationVo;

/**
 * 秒杀活动商品关联 service
 *
 * @author sakura
 */
public interface SeckillSkuRelationService extends IService<SeckillSkuRelationEntity> {
    

    /**
     * 分页查询
     *
     * @param request 请求
     * @return ret
     */
    Page<SeckillSkuRelationVo> queryPage(SeckillSkuRelationPageRequest request);

    /**
    * 注册用户
    *
    * @param request 请求
    */
    void add(AddSeckillSkuRelationRequest request);
    

    /**
     * 更新用户
     *
     * @param id      id
     * @param request 更新
     */
    void updateById(Long id, UpdateSeckillSkuRelationRequest request);
}
